package com.xwdeshj.service;

import com.alibaba.fastjson.JSONObject;
import org.springframework.web.bind.annotation.RequestParam;

import javax.servlet.http.HttpServletRequest;

/**
 * Created by BKWJA on 2019/1/6.
 * 农家乐——农家住宿信息 接口类
 */
public interface XwFarmRoominfoService {

    JSONObject getfarmroomlist(Integer pageindex,Integer pagesize,String starttime,String endtime,
                               String sortfild,String sortway,String searchval,String searchkey,
                               String farm_encryptId,HttpServletRequest request);

    JSONObject updatefarmroom(Integer room_id,String roomType,String remarks,String roomprice,String roomnum,
                              String farm_encryptId,String business_encryptId,HttpServletRequest request);

    JSONObject delfarmroom(String room_id,HttpServletRequest request);
}
